package com.daatak.finance.business;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.daatak.finance.dao.FinancialsDaoI;
import com.daatak.finance.domain.FinancialProductObject;
import com.daatak.finance.domain.RateBandObject;
import com.daatak.finance.domain.RateCardObject;

@Service
public class FinancialBean implements FinancialBeanI {
	
	@Autowired
	FinancialsDaoI financialDao;
	
	
	public List<FinancialProductObject> list() {
		// TODO Auto-generated method stub
		return financialDao.list();
	}

	public List<RateBandObject> rateBandsByRateCardId(Integer rateCardId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<RateBandObject> listRateBand(Integer rateCardId,
			Integer financialProductId) {
		// TODO Auto-generated method stub
		return null;
	}

	public FinancialProductObject findById(Integer id) {
		// TODO Auto-generated method stub
		return financialDao.findById(id);
		
	}

	public RateCardObject rateCardById(Integer rateCardId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<RateCardObject> listRateCards(Integer financialProductId) {
		// TODO Auto-generated method stub
		return null;
	}

	public void setFinancialDao(FinancialsDaoI financialDao) {
		this.financialDao = financialDao;
	}

	@Override
	public String createFinancialProduct(FinancialProductObject financialProduct) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void addRateCard(RateCardObject rateCardObject) {
		// TODO Auto-generated method stub
		
	}
	


}
